
<div class="dtree">

					<p style="padding:4px; margin:2px; "><a href="javascript: d.openAll();">展开全部</a> | <a href="javascript: d.closeAll();">折叠全部</a></p>

					<script type="text/javascript">
						<!--
						d = new dTree('d');
						d.add(0,-1,'根栏目','__URL__/add','根栏目','main');
						<volist name="list" id="vo">
								d.add({$vo.id},{$vo.pid},'{$vo.name}','__URL__/edit/id/{$vo.id}','{$vo.name}','main');
						</volist>
						//document.write(d);
						//-->
					</script>

</div>